mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
4387bbf149
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-ordered-set/versions
24 lines
541 B
Nix
24 lines
541 B
Nix
{ buildPythonPackage, fetchPypi, lib, pytest, pytestrunner }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ordered-set";
|
|
version = "3.1";
|
|
|
|
buildInputs = [ pytest pytestrunner ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0slg1ys58dzxl96mws3sydzavdzqdk0s2nrc852dphd9kbm07dzr";
|
|
};
|
|
|
|
checkPhase = ''
|
|
py.test test.py
|
|
'';
|
|
|
|
meta = {
|
|
description = "A MutableSet that remembers its order, so that every entry has an index.";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.MostAwesomeDude ];
|
|
};
|
|
}
|