forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These tools are needed for publishing Fedora and Ubuntu packages to Copr and Launchpad.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ fetchFromGitHub, python39Packages }: | ||
|
||
let | ||
inherit (python39Packages) buildPythonApplication; | ||
common-src = fetchFromGitHub { | ||
owner = "fedora-copr"; | ||
repo = "copr"; | ||
rev = "copr-cli-1.95-1"; | ||
sha256 = "1qhn1l4ikkf6z391q1n68m9c50h1wvxya4w25pnzryklqz9xfra4"; | ||
}; | ||
python-copr = buildPythonApplication { | ||
propagatedBuildInputs = with python39Packages; | ||
[ requests-toolbelt requests marshmallow six munch ]; | ||
src = "${common-src}/python"; | ||
name = "copr"; | ||
version = "1.112"; | ||
}; | ||
in buildPythonApplication rec { | ||
propagatedBuildInputs = with python39Packages; | ||
[ requests humanize jinja2 simplejson python-copr ]; | ||
src = "${common-src}/cli"; | ||
name = "copr-cli"; | ||
version = "1.95-1"; | ||
doCheck = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ fetchzip, python39Packages }: | ||
|
||
let | ||
inherit (python39Packages) buildPythonApplication; | ||
in | ||
buildPythonApplication rec { | ||
propagatedBuildInputs = with python39Packages; | ||
[ debian gpgme pygpgme testscenarios pkgs.gpgme setuptools ]; | ||
src = fetchzip { | ||
url = "https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/dput/1.1.0ubuntu1/dput_1.1.0ubuntu1.tar.xz"; | ||
sha256 = "1dgmyhmpnw71y1qs9z6npi9m46qh2vjs5g2vvaj1ak57333w2f7d"; | ||
}; | ||
name = "dput"; | ||
version = "1.1.0"; | ||
doCheck = false; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters